package com.jp.juc.locks;

import java.util.concurrent.locks.StampedLock;

public class UseStampedLock {


    public static void main(String[] args) {


        StampedLock lock = new StampedLock();
        lock.asReadLock();

        lock.asWriteLock();

        lock.asReadWriteLock();


    }


}
